package Exercise02;

import java.util.Arrays;

public class APIarrycopy {

    public static void main(String[] args) {


        int [] arr1 = {10,27,8,5,2,1,3,55,88};
        int [] arr2 = new int[5];
        System.arraycopy(arr1,2 ,arr2 ,0,  5  );
        System.out.println(Arrays.toString(arr2));
    }

}

